import React from 'react'
import { Button } from 'antd'
import './index.styl'

export default function Hoc(props) {
  return (
    <div className="hoc">
      <div className="hoc-btn">
        {
          props.render?
          props.render()
          :
          null
        }
      </div>
      <Button className="white-button">返回</Button>
    </div>
  )
}
